<extend name="Order/alizi" />
<block name="body">
<notempty name="aliziConfig.lazyload">
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?ac5110dfbdf55edf6b8a9da6d98b7f3f";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

<script type="text/javascript">
seajs.use(['jquery/lazyload'], function() {
	$(".alizi-detail-content img").lazyload({ placeholder : "__PUBLIC__/Alizi/alizi.gif",effect : "fadeIn",threshold:500});
});
</script>
</notempty>
	<script>seajs.use(['alizi'], function(alizi) {  alizi.getData('{$info.original_price}', '{$info.price}', '{$info.salenum}'); })</script>
	<notempty name="info.timer">
<script type="text/javascript">seajs.use(['alizi'],function(alizi) {  alizi.timer('#alizi-timer', '{$info.timer}'); })</script>
<else />
<script type="text/javascript">seajs.use(['jquery'],function($) {  $('#alizi-timer').html(''); })</script>
</notempty>
<div class="alizi-detail-wrap clearfix">
	<div class="alizi-detail-content">
		<div class="swiper-container">
			<div class="swiper-wrapper">
				<div class="swiper-slide"><img src='/Public/Uploads/{$info.image}' /></div>
			</div>
		</div>
	{$info.content}
	{:W('Relate',array_merge($info,array('moduel'=>'Order')))}
	</div>
	
	<include file="Order/footbar" />
</div>

<script>
	!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
		n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
		n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
		t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
		document,'script','https://connect.facebook.net/en_US/fbevents.js');
	var fb='{$info.facebook_pixels}';
	var fbxs = fb.split(',');
	for(var i= 0;i<fbxs.length;i++){
		// fbq('init', fbxs[i], {em: 'insert_email_variable,'});
	}
	{$fbxs_id}
	fbq('track', 'PageView');
	fbq('track', 'ViewContent');
</script>
<noscript><img height="1" width="1" src="https://www.facebook.com/tr?id={$aliziConfig.facebook_pixel_id}&ev=PageView&noscript=1" style="display:none" /></noscript>
<!--<if condition="C('DEFAULT_LANG') neq 'zh-cn' && !empty($aliziConfig['facebook_pixel_id'])">
 Facebook Pixel Code -->

<!-- End Facebook Pixel Code
</if> -->

</block>